home *** CD-ROM | disk | FTP | other *** search
- .TH WHILE
- 6 "IRIT Version 6.0"
- .SH NAME
- WHILE
-
-
-
- WHILE( NumericType Cond, AnyType Body )
-
- Executes the Body (see below), while the WHILE loop conditions
- Cond is evaluated into a non zero value. Cond is being
- evaluated before each iteration.
-
- The body may consist of any number of regular commands, separated by
- COLONs, including nesting loops to an arbitrary level.
-
- Example:
-
- deg = 0;
- rotstepx = rotx( 10 );
- WHILE ( deg < 360,
- deg = deg + 10:
- view_mat = rotstepx * view_mat:
- view( list( view_mat, axes ), ON )
- );
-
- Displays axes with a view direction that is rotated 10 degrees at a
- time around the X axis.
-